// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index.js';
import axios from 'axios';
import qs from 'qs';
import QRCode from "qrcode"; //引入生成二维码插件

//引入时间格式化插件
import moment from 'moment';
//引入图形绘制插件
import echarts from 'echarts';
Vue.prototype.requestUrl="http://47.92.157.224:8082/"
Vue.prototype.qs = qs;
Vue.prototype.echarts = echarts;
Vue.prototype.moment = moment;
Vue.prototype.axios = axios;
Vue.config.productionTip = false
Vue.prototype.QRCode=QRCode;
Vue.use(ElementUI);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})